package com.arsn.myf.system.entity;

import com.arsn.myf.common.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 岗位信息对象
 *
 * @author zhongrj
 * @date 2022-12-12 20:18:45
 */
@Data
@TableName("sys_post")
@ApiModel(value = "Post对象", description = "Post对象")
public class Post extends BaseEntity implements Serializable{

    private static final long serialVersionUID = 1L;

    /**
    * 岗位ID
    */
    @TableId(value = "id",type = IdType.AUTO)
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "岗位ID")
    private Long id;

    /**
    * 岗位编码
    */
    @ApiModelProperty(value = "岗位编码")
    private String postCode;

    /**
    * 岗位名称
    */
    @ApiModelProperty(value = "岗位名称")
    private String postName;

    /**
    * 显示顺序
    */
    @ApiModelProperty(value = "显示顺序")
    private Integer postSort;

    /**
    * 状态（0正常 1停用）
    */
    @ApiModelProperty(value = "状态（0正常 1停用）")
    private Integer status;

    /**
    * 备注
    */
    @ApiModelProperty(value = "备注")
    private String remark;

}
